﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERP.ERPSystem.ProductionSystem.Dto;
using ERP.Team.ProductionSystem;
using Volo.Abp.Application.Services;

namespace ERP.ERPSystem.ProductionSystem
{
    /// <summary>
    /// 生产系统-过程检验
    /// </summary>
    public interface IProcessServices : IApplicationService
    {
        /// <summary>
        /// 添加过程检验
        /// </summary>
        /// <param name="processDto"></param>
        /// <returns></returns>
        Task<int> AddProcess(ProcessDTO processDto);

        /// <summary>
        /// 显示过程检验
        /// </summary>
        /// <returns></returns>
        Task<List<Process>> GetProcess();

        /// <summary>
        /// 根据ID获取过程检验
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Process> GetProcessById(int id);

        /// <summary>
        /// 修改过程检验
        /// </summary>
        /// <param name="processDto"></param>
        /// <returns></returns>
        Task<int> UpdateProcess(ProcessDTO processDto);

        /// <summary>
        /// 删除过程检验
        /// </summary>
        /// <param name="ids">要删除的ID列表</param>
        /// <returns></returns>
        Task<bool> DeleteProcess(List<int> ids);
    }
}
